package cn.com.headfree.version.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.headfree.entity.isc.User;
import cn.com.headfree.version.dao.IVersionDao;
import cn.com.headfree.version.service.IVersionService;
import cn.com.headfree.vo.version.VersionVo;

@Service("versionService")
public class VersionServiceImpl implements IVersionService {
	
	@Autowired
	private IVersionDao versionDao;

	@Override
	public List<VersionVo> getVersions( String versionNo) {
		return versionDao.getVersions(versionNo);
	}

	@Override
	public void addVersion(VersionVo versionNo) {
		versionDao.addVersion(versionNo);
	}

	@Override
	public List<VersionVo> getNotice(String erpNo) {
		return versionDao.getNotice(erpNo);
	}
	
}
